#!/bin/sh

if [ -z $HASTHI_HOME ]; then
	HASTHI_HOME=`pwd`
fi

if [ -z $LOG_DIR ]; then
	LOG_DIR=`pwd`
fi

for i in $HASTHI_HOME/lib/*.jar
do
  CLASSPATH=$CLASSPATH:$i
done
CLASSPATH=$HASTHI_HOME/classes:$CLASSPATH
$JAVA_HOME/bin/java -classpath  $CLASSPATH  -Dhasthi.logDir=$LOG_DIR  hasthi.container.ManagmentNode $*
